<body>
<div class="ui-form w500">
<form id="form" action="{url('index/password')}">
<table>
    <tr><th>帐号名称:</th><td>{$login_info['username']}</td></tr>    
    <tr><th>当前密码:</th><td><input datatype="s" nullmsg="请验证密码！" class="input" type="password" name="password"  value=""/></td></tr>
    <tr><th>新的密码:</th><td><input datatype="*6-16" nullmsg="请设置密码！" errormsg="密码范围在6~16位之间！" class="input" type="password" name="newpassword"  value=""/></td>    </tr>
    <tr><th>确认秘密:</th><td><input datatype="s" recheck="newpassword" nullmsg="请再输入一次密码！" errormsg="您两次输入的账号密码不一致！" class="input" type="password" name="chackpassword"/></td></tr>
</table>
<div class="btn fn-tac">
    <input type="submit" value="确定保存" class="button button-blue" />
    <input type="reset" value="重置" class="button button-yellow" />
</div>
</form>
</div>
<script type="text/javascript">
Do('base','Dialog','Form',function(){ 
    $('#form').cpFormPage();
    $(".win").click(function(){
        $(this).cpWindows();
    });
})
</script>
</body>